package com.hps.spring.cloud.alibaba.service.impl;

import com.hps.spring.cloud.alibaba.entity.User;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Service;

/**
 * @author heps
 * @since 2020/11/4 15:01
 */
@Service
public class MyUserDetailService implements UserDetailsService {

  @Override
  public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {
    return new User();
  }
}
